/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.opensource.jdom.taggen.html.tag;

/**
 *
 * Defines a caption for a fieldset. The element must appear directly after the
 * opening fieldset tag.
 *
 * 	<h2>Example</h2> <pre><code class="html">
 *&lt;fieldset&gt;
 *	<strong>&lt;legend&gt;</strong>Name<strong>&lt;/legend&gt;</strong>
 *	&lt;div&gt;First name: &lt;input name="firstname" /&gt;&lt;/div&gt;
 *	&lt;div&gt;Surname: &lt;input name="surname" /&gt;&lt;/div&gt;
 *&lt;/fieldset&gt;
 *</code></pre>
 *
 * @see Fieldset
 * @author sergio.valdez
 */
public class Legend {

    /**
     * can be used to associate a keyboard shortcut to the element. 
     */
    private String accesskey;

    /**
     * can be used to associate a keyboard shortcut to the element.
     * @return the accesskey
     */
    public String getAccesskey() {
        return accesskey;
    }

    /**
     * can be used to associate a keyboard shortcut to the element.
     * @param accesskey the accesskey to set
     */
    public void setAccesskey(String accesskey) {
        this.accesskey = accesskey;
    }
}
